package com.ruoyi.tongyan.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TReviewMapper {
    /**
     * 申报和专家评审关联
     * @param declarationIds
     * @param userId
     * @return
     */
    public int assignDeclaration(@Param("declarationIds")Long[] declarationIds,@Param("userId") Long userId);

    /**
     * 结题和专家评审关联
     * @param closureIds
     * @param userId
     * @return
     */
    public int assignClosure(@Param("closureIds")Long[] closureIds, @Param("userId")Long userId);
}
